@media handheld, screen and (max-device-width: 800px), screen and (max-width: 800px) {
    @if $nav-underline {
        div#nav ul {
            display: none;
        }
        div#nav.toggled ul {
            height: auto;
	    display: block;
        }
        div#nav > ul > li {
            display: block;
        }
        div#nav > ul > li > a {
            display: block;
        }
    }
}

