Added tab control to main page