fastes way to do this is to incorporate the keypressed in the <ResizeAndPosition>-Command, so could you please post the one you are using?