Added a function to mode the visible links to a button dropdown to conserve space.