Pass duration into slideTransition for calendar