Added portrait determination
Fixed HistoryPage button
Removed accidential Sheet item