Making the book slider responsive