Improve animate and change slide