Bug fix : Won't resize instead of changing view