An in-plane thermal unimorph using confined polymers