An optical readout for accurate positioning of UV photons in an avalanche chamber