Toggle animation framework