Added grouping, css coming later.
Added delay on opening and closing.