poll position event and resize handling