added side bar and pagination

added side bar and pagination