made window resizing way better