use simplified method for flip vertically