fixes backgrounds borders and navigation