added animation and positioning