Search update and CSS fixins

Added script for the Search popout at the bottom if the index.html file. Wasn't sure where to place this.
This script belongs in the index controller.