Only respond to resize if actually resized.
Remove commented code.
Call ignored parameter 'ignored'.