Added matchmedia listener