Added comments to the zoom section. Can still refactor the code as the scaling part is duplicated in zoom in and zoom out.