View Pager Dynamic

Maybe this might help