Make variable and function for keeping track of the top preview drawn.