get viewport of webpage to check