Fix buggy SwipeableTabs method.

Jira issue: wp-1036