Add getters and setters for x and y properties of viewport