partial fix to the resizing problem for smaller screens. The following were done:
1. search.php: changed all of the charts to pie charts. The bar charts give an error when the screen width is at 320px. I think this is problem with the some interaction of bootstrap and google charts. It appears that the charts could be moved to the left inside of the <div> and that may fix it.
2. updated drawChart to check for the screen.width and use 900 unless the screen is smaller and then it uses screen.width.