fixes layout, style, adds clicklisteners