Fixed the bug of bottom first animation

Fixed the bug of bottom first animation