Added document ready declaration and scrolltop