re #138 - added server data back to have enough space for scrolling to items, old smoothscroll is back, removed some obsolete css, moved onresize and onscroll within onload, newer smaller way of adding classes on scroll, paga data has a min-height of at least the viewportheight - header_height