move width and height in configuration