Renaming scale variables
Adding panning to the X scale