Changed "toTop" button showing logic.