refactoring width -> device-width