First seemingly working version of the responsive layout