fixed index issues in bounce animation