change category panel to loading after hiding it completely