Implemented animations using CAAnimation