button flip and styling