changed layout, added keyframe animation