Added viewport option to controls for passing a DOM element to contain controls within