add keyboard shortcuts; refactor css classes, js