Issues with media querys

Having trouble getting media querys to work properly. Along with
problems with simulator orientation. Hoping to fix problems once I can
actually test on device.