Added calls to set transition parameters for animation