Dropped unnecesary var passing for panning and added ability to alter pin focus