Book like listing in JS and CSS