implementing stackoverflows pagedown and sidebar navigation