Making style and navigation bars work