You have a floating problem. An easy fix would be to add this:
#links {
clear: left;
}
This is a bit too much floating. The fasted solution in my opinion would be the following:
.responsive-layout-narrow #links,
.responsive-layout-mobile #links
{
clear: both;
}
That will clear your links container on smaller screens.