Added animations to toggle buttons