supports newest Hammer, added direction

Supports the newest Hammer version. Added an option: 'direction'. I
noticed swipeout was adding multiple delete buttons to one element.
fixed that as well.