add drag functionality for design layer