smooth transitions and image animations fixed