now works for Tablet layout