added media query and ajax-loader