get device width and height