updated layou, css and js for groups