bug 927165: Fixes for margin/tablet display for nav, header, ui grid