refactored column resize directive