require statment must be out of cache block, fix style for <1024px width