layout
merge swiping and menu