device width working with background