added resetInput to pinview header