Added stacked behavior for small screens