Added slider for the number of generations

Added slider for the number of generations to view in the ancestry graph