[automerger] Reset the UI to the proper state, if we start the swipe-ui gesture from an inconsistent state am: a04c779f86

Change-Id: Ie8c72e058f35e4fce566b1751737de48b987ffe0