Add function stop resizing. Add description of action of fail