Fixed missing cell when single clicking a cell to zoom out, and made the conditional code for zooming out more generic