fixes menu height animation