store accordion state