added toplevel to parameters

which are carried over the next and previous links