measure height while elements are still visible