Decreased amount pxs for moving windows; deleted unnecessary line