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.