Hi Niranjan,
There seems to be no way using Javascript but there is a way with Java. You can create a Code Snippet and run it with Execute_Java command.
driver.manage().window().maximize();
Point p = new Point(0,3000); driver.manage().window().setPosition(p);
You can create a code snippet on the platform as below:
https://subject7.atlassian.net/wiki/spaces/SD/pages/38502401/Create+a+Code+Snippet
Regards.
Subject7 Team