refactor the rest of the UI

cleanup buttons

move modal and buttons to components

refctor infinite scroll

forget this