Added flip in/out to compose activity