adds some css and html to the right hand form
fixes merge conflict, adds tab click function