Yup! They can travel in any direction. You can have some particles travelling up and down and some left to right too, or whatever you like.