arrow navigation and thumbnail nav simplified
js bugfix