implementation of tabs with ActionBarActivity compatible with v7