Toggling functionality for legacy browser ie8 and ie9 included

Toggling functionality for legacy browser ie8 and ie9 included