windowHeight updating closes #314