made it usable in firefox (still ugly, just usable)