improve bottom-overflow detection smoothness

along with default options fix