removed absolete code and improved html/css