added effect when showing hints/errors