Variable popup minimisation animation speed