Created card fragment and pager.