adding flipping, copy to keyboard, and close buttons