Martin Terrier scored a jaw-dropping scorpion kick to help Leverkusen beat their local rivals in a fiercely contested Rhine derby.