Ensure selected tab is visible when rendered

Fixes #11