Cleanup open/close list functionality