Add autoscroll to views when changing state