Made home, previous and next buttons work again
Cache reimplemented