In Slic3r, it's in the printer section where you can add gcode to run at the beginning, etc, etc. of a print, and, IIRC, the default is something like 'G1 Z5 F3000'
G1 means move
Z5 means to 5mm height
F3000 means at a speed of 3000mm/min
I suspect that Cura has a similar section that needs tweaking . . .
- Tim