moved resize stuff out of projects