fix view pager memory problems