cleaned up code for drawing the background behind blocks