Move height call to stop propagation of page