fix tab navigation, fixes #6