The code in the below link works fine to display sticky Column headings
http://www.enjoysharepoint.com/Articles/Details/steps-to-freeze-header-row-for-title-in-sharepoint-2013-21223.aspx
How to convert this code to display sticky row headings. please explain the code