adding orientation:landscape to media query
added conditional check to orientation switch statement