Resolve Issue #22

Method to set the gravity of the tab container, resolves Issue #22