These function can be removed, if you use 'slide' in the template instead of 'poll'.