Code styling in src/controls.pan.js