improve index css; improve pagination and item page; fix bugs