add bootstrap 3 support, move important functions to application
controller

improve visual appearance of search page