scrollview fixes to prevent div by zero.