Sidebar drag gesture implementation

First implementation, few fixes