MOD: add basic keyboard and swipe navigation, some javascript and CSS cleanups