add orientation option and example html