fixed resize for all directions

There was a bug where the resize went the wrong direction for `REFrostedViewControllerDirectionRight ` and `REFrostedViewControllerDirectionBottom`.