overhaul x-flipbox demo and documentation