[[ Bug 13426 ]] Fix various issues with mobile orientation