fixes bug of output across different linux systems
responsive to window height changes