fix maw index
add mobile swiping support