added vertical mode to configuration