Add a short transition effect