add color transition to input box, focus after transition complete