Repaired a small error I had left in the previous commit. Also added a maximum pan slider to the options menu.