remove unnecessary imports
Get the animation end height from the view itself, and not from it's layout params.
This enables animation in cases where the view's layout height is set to wrap_content.