Added functionality for a viewport option