sync

The position relative to previous window is solved, though the
flickering problem persists