Release flipped controller

Release flipped controller when it is dismissed.