load correct view based on hash