Update UI part.

Bug:
1. adjust height and width auto but wrong position.
2. Move commands do not work for configuration issues.