Add reset view
Off-by-one errors