attempted thresholding
tilt and pan work in conjunction; if statement to reset tilt when maxed out implemented