Reworking the responsive layout and adding styles for tablets