Added possibility of having pagination. DO NOT USE TWEENLITE

Need to do changes to the example page.