resize / scroll in 1 event function