Move scrollbar emitValue related calls around.

If plugin crashes atleast volume's value is saved.