wrap the memories index in a loader and add a button if you don't have any memories