Update UISwipeViewLight.js

validate detach method.