tab switching and showAll improved/added