fixed tab navigation

This fixes tab navigation.