fix previous/continue bugs + styles