added pull-right functionality