Controlling stochastic gene expression in the Drosophila retina