coded purchase UI and paging animations