added option to keep group toggle open after page refresh