Determined closing height animation issue was due to removing class too early