change draw region by browser width and height
correspondence about displaying by iframe