Added smooth animation between frames