Adding a transition effect on the current occurence layer