changed variables boboRightAnimation  and boboLeftAnimation from global to local in characterView