Adding media query functions