Animate change password dropdown.

Resolves #297.
strips whitespace from before and after necessary fields