add flip-back-over functionality