added bitmap cache and drop using inflate