fixes in tab animation