updated column switching for mobile screens