stop previous animations
working version of sliding animation
also hiding animation works
center text