added the ability to resize window display