refactored camera to allow for min and max tilt angels