fix details view animation issue