Make collapse shown acoording to anchor.