added nav bar border when tab bar is hidden and other tweaks