added button to "flip orientation"