fit area into viewport on click