Resize: make local horizontal resize function static