add resize
bug with onionskin when changing layer