Added maxViewMode to options