Added debug panels; added hammer.js; added event listeners; refactored rotation