fix issue when in landscape mode, issue #128