nitweb: move anchorscroll configuration to main script