Added sweeping bar and reoriented panning functions to match image.