Constrain the items within the main page