Optimize the move function

1.Optimize the move function.
2.Optimize the hide function.
3.Optimize the E5 configuration.
        Using DefaultRootWindow(display)