updated plugin with threesixty, msgesture and scale events