Fixed tab problem with action bar.

Fixed problem where tab included action bar buttons. Is is now working
properly and selecting only panels