Frames are added and removed here one after another.