updating size of screen