added the change tot he swipe event also