Fixed listview bouncing and minor compilation error