fixed css bugs and simplified html