Small changes to the zoom code