make it easier to resize window