some modifications on fiveDivsMoving