landscape mode and some fixes some bugs