auto reset table view (and navbar) when view appears