Minor cleaning of code formatting
View determining code now pays attention the url's hash