fix links
make prev, next links usable

plus properly scroll the main nav