added next function to outputs

Created the next function for obtaining a view for the remainder of space
after the current output.