Added show/hide group functionality