i thought gliding 1 seconds in random position can be really slow or really fast so here is the thing to resolve the problem