styling changes to the search results screen. Also moved some javascript to the main.js file to reduce clutter