fixed issue with search box duplicating

resolved an issue where the styling for the search box was duplicating
on pages when navigated to after the initial load.