implemented image sliding limit warning