modify for landscape mode, but not done yet.