shrink navi when pages count is too big
minor updates
js fixes
Regenerate gemspec for version 0.6.22