sliding-headers prototype clean up
 replaced the on scroll for loop with a while loop. hope its actually faster.
 removed old console.logs.
 moved comments from line above to end of line.