moved swatch event listeners up to the palette element
fixes #2
Merge pull request #7 from b3nj4m/dev

palette now attempts to stay on within the viewport, reduced number of event listeners