fixed bug with overflow onto the navbar