Fix details hover expand after implementation of sort