Added animations to input switching