Code cleanup for layout methods
prepareForReuse works like Apple's Implementation