Add detachEvent method for detaching scroll event