implement base drag functionality
basic resize works; code only a mother could love
i love the smell of modularity in the morning