Tweaking template

Little fixes for the template and I am trying to get the home button to
work correctly.