added removeFirstBitmapData & removeLatestBitmapData methods