add doscroll function to compatibility ie