giving bars the correct y pos on entering