added expand functionality for flaps
added expand functionality for flaps

pascience/LivelyKernel,NikolaySuslov/LivelyKernel,LivelyKernel/LivelyKernel,pascience/LivelyKernel,NikolaySuslov/LivelyKernel,pascience/LivelyKernel,LivelyKernel/LivelyKernel,LivelyKernel/LivelyKernel,NikolaySuslov/LivelyKernel