layout: iteration on responsive design

This also fixes sorting in datatables.

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>