Use media quesries to optimize layout