window maximization upon snapping