Controlling viscous fingering in tapered Hele-Shaw cells