js-based implementation for vertical columns