[markets] fixed scope, moved the advanced button into the header