add UI components to view and animation logic