optimizing PIP adjustment/changing mode