Add opts.animator option to gallery view constructor