adding handles support to layout
Adding handles support to layout