fixed css bugs and removed js where css would work