add resizable demo and update its docs