A simple behaviour for getting away from obstacles