add support for move window