simplify $_GET usage (move to beginning for easy escape if need be).
simplify orientation reading from big case to two small arrays.
Merge pull request #70 from bifek/cleangetvars

simplify $_GET usage (move to beginning for easy escape if need be).