fixed some css and javascript issues that were causing problems for Firefox, it seemed to work on Safari when I checked