resizes the navbar table