This is a small module which allows you to have a folding wing or other retractable lifting surface. It allows for an integrated control surface (only one at this time).
Additionally, the integrated control surface is eased in once the wing is deployed, so that it doesn't kick in instantly
It's available here: https://github.com/linuxgurugamer/RetractableLiftingSurface/releases
The following mods use this:
Kerbonov Kn-2 Cockpit Module: http://forum.kerbal