added media queriy bare bone
fixed qp7