determine orientation on start and method for set selection in the beginning of row