hide details view with animation