starting frame animation code
Frame animations are done