figuring out toggle animation for tabs