fix small bugs
fix prev and next buttons
add cache line to progress bar