Added interactive animation when swiping between tabs