added some event handler
added a css definication
changed html layout