added code to sync the search boxes through pages

there are still lingering issues due to the rendering cycle of jquery
mobile. will address if needed.