change device width and ids