slide effect changes for right and left directional animations