Added vertical docking - this still needs some improvement