How to remove find my iPhone from the computer?

Okay so I cracked my iPhone and the screen doesn't even work anymore but it still gets messages and etc, I just can't use the touch screen. So i got a new iPhone but I want to transfer all my pictures and videos on the new phone but the old phone has a passcode so I can't unless I unlock it. So i was going to just restore everything because it takes out the password but I need to turn off the "find my iPhone" and I can't do that because my touch screen doesn't work. I'm a mess. Any help?

Wipe it from here. Still can't be reused until find my iPhone comes off but with a busted screen there's no point or rush in that. Best luck.
https://www.icloud.com/...cloud.com/