animation layout bug fixed