svg pan with jquery - working