working resizing app