xMaximimPosition set to 340