Text this: Numerical study of transitions in lid-driven flows in shallow cavities