Feature/8345

Switching a carousel view before receiving the server response from a previous switch caused the stale view to be rendered on top of current tile view. This commit adds a conditional parameter to the redraw callback function. Switching views now passes a function to check if the view index still matches that of the tile. If it doesn't, the function won't draw the received tile.