adding cookies to remember div state