getting animations smooter