separated flipcard into mixin