navigation bar collapses for small screens