Adds dragresize styles, refactors into own.