image gap remembers its show and hide state