not able to resize window