Window: Add support for moving window.

Signed-off-by: darkestkhan <darkestkhan@gmail.com>