Implement expansion marker animation and its infrastructure