Add panzoomend event and onEnd option