modify ball movement boundary