Fixed scrolltop animation to be cross browser