displacement and flipping mechanics