Fixed wrong order of date pickers on mobile

When the screen gets over 840px wide, the date pickers reorder but the order is wrong(it should be the other way around). What I did looks like a workaround but I couldn't figure out how not to hack it.