plugged in drag and resize directive into spawn page