Staircase code working on laptop with images. Not tested on BF display.