fix height and add pagination