fix navigation border, size and shadow