refactor the animating elements using grid layout
refactor Quad curves using grid layout
refactor Cubic curves using grid layout
refactor Quart curves using grid layout
refactor Quint curves using grid layout
refactor Sine curves using grid layout
refactor Expo curves using grid layout
refactor Circ and Elastic curves using grid layout
refactor Back curves using grid layout
refactor Bounce curves using grid layout