Tidied up code for home screen - simplified home.html