getViewPort implimentation