fixed: moved logic to sidebar.js
Merge pull request #76 from ryanbahniuk/coord-fix

fixed: moved logic to sidebar.js
resolved conflicts