Window now scrolls to the newly added panel