handle swipes
latest changes to draggable component, including cached maxHeight value