fixed 'back to top' bug