Added tab animation
Fixed errors