window size dependent of screen resolution