Implementation of a tabbar with a bounce animation when switching tab