Misc web template fixes
Revise next/prev handling for web templates
Hide margin-induced horizontal scrollbar