StereoView: Condense code