simplify $_GET usage (move to beginning for easy escape if need be).
simplify orientation reading from big case to two small arrays.