Add bootstrap pagination and fix select2 on detail