Added orientation classes on html element