removed delegate for animation, calling the animation directly. Key was calling the layout on the superview.