fixed a few minor css and js layout stuff