Added the view attribute and the rotation example