pagination for playlist, refactoring, better layout