Added undo lock scrolling