added a base class to keep state between clicks in dropdown