Its a bit rough. Try this code, copied from post, Its quite good.
EdgeResistance 0 0
EdgeThickness 2
EdgeCommand E FuncScrollMoveH 40p -5p
EdgeCommand W FuncScrollMoveH -40p 5p
EdgeCommand N FuncScrollMoveV -40p 5p
EdgeCommand S FuncScrollMoveV 40p -5p