draw elements, move gestion, and collision with borders