Sets the duration that transitions between pages will take.
a header bar
the new duration, in milliseconds