[jslint] fixed a mixed space and tabs error
[#384] added a `resizeV` function and the possibility for the former `resize` function to also take a ratio for scaling on the y axis