added a media query support

still need to fix hotter problems