modified css and js to implement few more code review suggestions