Use the same nexturl function as the baseportlet.

@maethu i changed the nexurl function so the redirects are also correct, when we aren't on the manage-portlets view.