Measure parent height in onPage