fix window size for tablet view