added swiping to activities