added landscape mode for glass