add onScroll and getScrollY support for page, add 'bpg_render' class when rendering for photogrid