Fixed bug that made the button getting out of the screen if the screen was too thin
added or slowed down animations