add focus effects for chat box