Set vertical direction in category detail