Theoretical demonstration of beam scanning and switching using spatial solitons in a photorefractive crystal