Moved view port manipulation inside view port object