adding scroll to top functionality