fixed styling and swiping