moved window listener