user agent proper and orientation fixed for tablet & smartphone