reference ul.buffer-window by class name when calculating scrolling position