Index window height detection