adjust menubar height during animations