updating arrow markup and styles, adjusting animation