getResolution()
capture screen size restrictions