added resizeInPlaceOnCenter, gonna use this for a while

Signed-off-by: lolportal <fpalta90@gmail.com>