Making sliding left on right use transitions callbacks.