improved styles for chapter navigation

I removed `position: absolute ` and corresponding properties for a better UX.