refactoring
started moving slider code to slider.js
moved all slider functionality to slider.js, disabled color picker for now
housekeeping
finished extracting the slider functionality.
moved minicolors code to slider.js
moved getTokenCoords to misc.js - now it doesn't depend on globals.
minor typo bug
fixed a typo - bar triangle wasn't being sized properly
moved popup functionality to popup.js