adjusted demo data, added loader icon
refactored dom event handling
implemented handling for page change via dropdown