Making items flexible based on devices