reversed width/height because of landscape v portrait