I want to toggle between up and down arrow classes, if li is not opened then arrow down should be visible, and if it\'s li open a list, then arrow should be up. I want this to w