improving glitch to next pic