Reduced to be more generic

Allows for more than two sets of media query properties to be passed in