resume and pause animation works