Fix FS shelf trigger condition with vertical layout