adding scrolltop functionality for navigation