Get's page swapping to work for filtering the index.
Fixes bug in searches-helper, and better refactors index into the partial.