Remove Unnecessary and Wrong code.
if currentTabIndex overflows the total items, force reduce to last index.
Merge branch 'master' of https://github.com/mjpclab/jquery-tab