screen resoultions taken into account