switch from "add" to "replace" for fragments, fix bug with missing pager