class for resizing nav