fix for overflow action show and hide for issue #658