Kind of working with "pagechange" trigger, but there must be a better way.