fix attachment, image, and search pages
update search box for BS3.0