split state and animation