move viewport to new package