force max size to recompute after moving the appbar