Updated the animation to support standard show/hide.