hide the swipe menu when all the elements have a clear background