Add Swipe to Close/Delete support

Some applications may want Swipe to Close/Delete support, so I have added it and made it an optional property.