prevent scrolling and console-logging