animation layout adjustment