Getting latest working gauge and portrait restriction