Tart pagination slider

Add query string parameters as hidden inputs to tart pagination slider
form to keep them applied after changing the offset slider. Also some
trailing spaces are removed.
Can you please wrap this in an "if" as Request::initial() may be NULL (in tests)