added swipe navigation, changed jquery host, made sidebar use entire screen if it is to be the only visible element